/**
 * 仓库 api 封装
 *
 * @Author:    AKITA
 * @Date:      2025-08-03 22:08:21
 * @Copyright  AKITA
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const storeordApi = {

    /**
     * 分页查询  @author  AKITA
     */
    queryPage : (param) => {
        return postRequest('/storeord/queryPage', param);
    },

    /**
     * 增加  @author  AKITA
     */
    add: (param) => {
        return postRequest('/storeord/add', param);
    },

    /**
     * 修改  @author  AKITA
     */
    update: (param) => {
        return postRequest('/storeord/update', param);
    },


    /**
     * 删除  @author  AKITA
     */
    delete: (id) => {
        return getRequest(`/storeord/delete/${id}`);
    },

    /**
     * 批量删除  @author  AKITA
     */
    batchDelete: (idList) => {
        return postRequest('/storeord/batchDelete', idList);
    },

};
